﻿<UserControl x:Class="SilverlightContrib.Sample.DataServiceSample"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             FontSize="14"
             FontFamily="Verdana">
  <StackPanel x:Name="LayoutRoot"
        Background="White">
    <TextBlock>Customers</TextBlock>
    <ListBox x:Name="customerBox">
      <ListBox.ItemTemplate>
        <DataTemplate>
          <StackPanel>
            <TextBlock Text="{Binding Name}"/>
            <TextBlock Text="{Binding BirthDate}"/>
          </StackPanel>
        </DataTemplate>
      </ListBox.ItemTemplate>
    </ListBox>
    <Button Content="Get Customers"
            x:Name="getCustomerButton" />
    <TextBlock>Customer Names</TextBlock>
    <ListBox x:Name="customerNamesBox" />
    <Button Content="Get Customer Names"
            x:Name="getCustomerNamesButton" />
  </StackPanel>
</UserControl>
